# -*- coding: utf-8 -*-
#高级特性----使用模块

'a test module'

__author__ = 'Michael Liao'

import io
import sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf-8')

def test():
	args = sys.argv
	if len(args) == 1:
		print("hello world")
	elif len(args) == 2:
		print('Hello, %s!' % args[1])
	else:
		print('Too many arguments!')

if __name__=='__main__':
    test()
